<template lang="html">
  <div class="setting-list">
    <MineMenu v-for='(item,index) in settingListData' :key='index' :menuList='item'/>
  </div>
</template>

<script>
import MineMenu from './MineMenu'
export default {
  name:'SettingList',
  components:{
    MineMenu
  },
  data(){
    return{
      settingListData:[
        {
          title:'用户协议',
          value:0
        },
        {
          title:'关于安心食疗',
          value:1
        },
        {
          title:'去评分',
          value:2
        },
        {
          title:'清理缓存',
          value:3
        }
      ]
    }
  }
}
</script>

<style lang="less" scoped>
.setting-list{
  margin-top: 0.2rem;
  div{
    margin-bottom: 0.02rem;
  }
}
</style>
